<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>websocket客户端管理</title>
</head>
<body>
<h1>客户端连接</h1>
<p>总数：{{.clientCount}}</p>
<div>
    {{range .clients}}
    <p>客户端ID：{{.ID}}<br>连接时间：{{call $.TimeToStr .Time}}
        <br>订阅数据：{{.Topics}}
    </p>
    {{end}}
</div>
</body>
</html>